#ifndef IMAGELABEL_H
#define IMAGELABEL_H

#include <QLabel>

/**
 * @brief The ImageLabel class
 */
class ImageLabel : public QLabel
{
    Q_OBJECT
public:
    ImageLabel();
    ImageLabel(QWidget *parent = nullptr);

private slots:
    void doDeleteAction();
private:
    QAction* deleteAction;
    QMenu* contextMenu;

signals:
    void imageChange();
protected:
    void contextMenuEvent(QContextMenuEvent *event) override;
};

#endif // IMAGELABEL_H
